package com.park.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.park.model.UserList;

public interface UserlistMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserList record);

    int insertSelective(UserList record);

    UserList selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserList record);

    int updateByPrimaryKey(UserList record);

	UserList getByUserName(@Param("userName")String userListname);

	List<Long> getByUserId(@Param("id")Long id);

	List<UserList> getUserByName(@Param("userName")String userName);

	List<UserList> getUser(@Param("ids")List<Long> ids);

	UserList getreeNode(@Param("id")Long long1);

	List<UserList> queryTreeNode(@Param("id")Long long1);

	int deleteById(@Param("ids")List<Long> ids);
}